// ChessPoint.cpp: implementation of the CChessPoint class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "llk_wg.h"
#include "ChessPoint.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CChessPoint::CChessPoint(POINT pxy) 
{    up=pxy;down=pxy;left=pxy;right=pxy;
     p=pxy;
     up.y=pxy.y-1;
	 down.y=pxy.y+1;
	 left.x=pxy.x-1;
	 right.x=pxy.x+1;
	 

}

CChessPoint::~CChessPoint()
{

}
